<%-- 
    Document   : listarAlertas
    Created on : 11/11/2011, 01:14:23
    Author     : Gomes
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>        
        <h1>Hello World!</h1>
        <c:forEach var="alerta" items="${requestScope.alertas}">
            <p><fmt:formatDate type="date" value="${alerta.dataAlerta}"/> - ${alerta.descricao} </p>             
        </c:forEach>                    
    </body>
</html>
